package com.c6906.vdam.dcs.model.dto;

import com.c6906.vdam.common.util.StrUtils;
import com.c6906.vdam.dcs.protocol.basics.JTMessage;
import com.c6906.vdam.dcs.protocol.t808.T0200;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class TerminalStatus {
    // 终端唯一编号
    private String terminalSn;
    // 终端上报经度
    private String longitude;
    // 终端上报纬度
    private String latitude;
    // 终端离线状态，0：终端在线，1：终端离线
    private String terminalOffLine;
    // 终端上报时间
    private String terminalTime;

    public TerminalStatus(String terminalSn, String longitude, String latitude, String terminalOffLine, String terminalTime) {
        this.terminalSn = terminalSn;
        this.longitude = longitude;
        this.latitude = latitude;
        this.terminalOffLine = terminalOffLine;
        this.terminalTime = terminalTime;
    }

    public String getTerminalSn() {
        return terminalSn;
    }

    public void setTerminalSn(String terminalSn) {
        this.terminalSn = terminalSn;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getTerminalOffLine() {
        return terminalOffLine;
    }

    public void setTerminalOffLine(String terminalOffLine) {
        this.terminalOffLine = terminalOffLine;
    }

    public String getTerminalTime() {
        return terminalTime;
    }

    public void setTerminalTime(String terminalTime) {
        this.terminalTime = terminalTime;
    }
}
